const getters = {
	sidebar: state => state.app.sidebar,
	size: state => state.app.size,
	device: state => state.app.device,

	visitedViews: state => state.tagsView.visitedViews,
	cachedViews: state => state.tagsView.cachedViews,

	permission_routes: state => state.permission.routes,
	// errorLogs : state => state.errorLog.logs,

	// 用户信息
	extent: state => state.user.extent,
	name: state => state.user.name,
	avatar: state => state.user.avatar,
	introduction: state => state.user.introduction,
	token: state => state.user.token,
	roles: state => state.user.roles,
	hotelLogin: state => state.app.hotelLogin

}
export default getters